package design.cuisine.impl;

import design.OrderAdapterService;
import service.OrderService;

/**
 * @author: hero生仔
 * 内部商品接口
 */
public class InsideOrderService implements OrderAdapterService {
    private OrderService orderService = new OrderService();
    @Override
    public boolean isFirst(String uId) {
        return orderService.queryUserOrderCount(uId) <= 1;
    }
}
